package nwsimplex.io.read.model;

import java.util.Collection;
import nwsimplex.graph.Edge;
import nwsimplex.graph.Vertex;

/**
 * A container that contains a valid data of a graph parsed from a data file.
 * Validity means that every {@code Vertex} that is referenced by an {@code Edge}
 * is created even if it is not found in the data file.
 * 
 * @author Kseniya
 */
public class RawGraphData implements RawLineData {
    
    
    private final Collection<Vertex> vertices;
    private final Collection<Edge> edges;

    public RawGraphData(Collection<Vertex> vertices, Collection<Edge> edges) {
        this.vertices = vertices;
        this.edges = edges;
    }

    public Collection<Vertex> getVertices() {
        return vertices;
    }

    public Collection<Edge> getEdges() {
        return edges;
    }
}
